-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: emit verified event for attempt #186
Merged
alangsto
merged 1 commit into
MST-1789-downstream-triggers
from
alangsto/exam_verified_producer
Oct 3, 2023
Merged
feat: emit verified event for attempt #186
alangsto
merged 1 commit into
MST-1789-downstream-triggers
from
alangsto/exam_verified_producer
Oct 3, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alangsto
force-pushed
the
alangsto/exam_verified_producer
branch
2 times, most recently
from
October 2, 2023 17:10
dbc11a0
to
5145643
Compare
MichaelRoytman
force-pushed
the
michaelroytman/MST-2114-exam-completion-event
branch
2 times, most recently
from
October 2, 2023 18:37
cac99f7
to
d324b9d
Compare
alangsto
force-pushed
the
alangsto/exam_verified_producer
branch
2 times, most recently
from
October 2, 2023 18:39
c06ca19
to
844af81
Compare
MichaelRoytman
force-pushed
the
michaelroytman/MST-2114-exam-completion-event
branch
3 times, most recently
from
October 2, 2023 19:24
6a86447
to
267dc5f
Compare
alangsto
force-pushed
the
alangsto/exam_verified_producer
branch
4 times, most recently
from
October 2, 2023 20:41
8656325
to
4ce91b9
Compare
MichaelRoytman
force-pushed
the
michaelroytman/MST-2114-exam-completion-event
branch
from
October 2, 2023 20:42
267dc5f
to
980ba38
Compare
alangsto
force-pushed
the
alangsto/exam_verified_producer
branch
from
October 2, 2023 20:47
4ce91b9
to
83e4fa2
Compare
alangsto
force-pushed
the
alangsto/exam_verified_producer
branch
from
October 2, 2023 20:48
83e4fa2
to
d648410
Compare
Base automatically changed from
michaelroytman/MST-2114-exam-completion-event
to
MST-1789-downstream-triggers
October 2, 2023 21:49
zacharis278
approved these changes
Oct 3, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
surprised the tests are already hitting code inside signals.py somehow. I would have thought we'd need to #nocover that 🤔
alangsto
added a commit
that referenced
this pull request
Oct 3, 2023
ilee2u
pushed a commit
that referenced
this pull request
Oct 6, 2023
* feat: add openedx_events and edx_event_bus_kafka to INSTALLED_APPS * feat: install confluent_kafka[avro,schema-registry] for use with edx-event-bus-kafka * feat: add event bus and Kafka Django settings * feat: make User.full_name field non-nullable This commit makes the User.full_name field non-nullable to ensure that there is only one representation of the empty value - the empty string. Currently, empty values for this field can be either None or the empty string. Because we're transitioning from a nullable to non-nullable state, a default is required to handle existing rows with a null value. This is best practice; Django discourages setting both null=True and blank=True on CharField model fields. Furthermore, this was required by our event bus work. If an empty value is represented by None, this causes issues with the event bus, because None is not JSON serializable. Instead of converting a None value to the empty string in the event producer, correcting the the model definition is a better approach. * feat: upgrade openedx-events to 8.8.0 * feat: emit the EXAM_ATTEMPT_SUBMITTED Open edX event when an exam is submitted * feat: emit verified event for attempt (#186) * feat: emit rejected exam signal (#181) * feat: add errored event producer (#189) * chore: fix upgrades * chore: remove confluent-kafka import * docs: local event bus development * fix: remove local Kafka settings This commit removes Django settings from the local settings file, used by the local application server, related to setting up the Kafka implementation of the event bus. This is because the event bus does not work outside of a Docker container. This is because the event bus is run through the devstack networking layer, which is inaccessible by the local application server. * feat: update topic names for events (#193) * feat: exam reset producer (#196) send event to the event bus when an exam attempt is reset --------- Co-authored-by: michaelroytman <[email protected]> Co-authored-by: Michael Roytman <[email protected]> Co-authored-by: Zachary Hancock <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA: MST-2111
Description: If an attempt's status is updated to verified, emit a verified event.
Merge checklist:
Post merge: